body {
    width: 98%;
    margin: 0 auto;
    padding: 5px;
}

/* 轮播图 */
/* 大屏幕 */
@media (min-width: 992px) {
    .carousel-inner {
        height: 700px; 
    }
    .carousel-item{
        height: 700px; 
    }
    .carousel-item img {
        height: 700px; 
    }
}

/* 卡片内容自定义样式 */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
}
.note-item {
    transition: transform 0.3s ease;
}
.note-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}
.img-hover-zoom img {
    transition: transform 0.5s ease;
}
.img-hover-zoom:hover img {
    transform: scale(1.05);
}
.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .carousel-caption h3 {
        font-size: 1.2rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #343a40, #212529);
    color: white;
    padding: 20px 10px;
    margin-top: 50px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}
